package com.sf.fy.uav.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sf.fy.uav.common.request.operate.SysPromotionStatisticsRequest;
import com.sf.fy.uav.common.response.operational.SysPromotionStatisticsResponse;
import com.sf.fy.uav.common.vo.TotalAmountVo;
import com.sf.fy.uav.entity.PromotionStatistics;

import java.util.List;

/**
 * <p>
 * 推广记录表 服务类
 * </p>
 *
 * @author LTQ
 * @since 2023-08-18
 */
public interface IPromotionStatisticsService extends IService<PromotionStatistics> {
    /**
     * 查询总条数
     *
     * @param phoneNumber
     * @param activityId
     * @return
     */
    Long getTotal(String phoneNumber, String activityId);

    /**
     * 查询banners
     *
     * @param sysPromotionStatisticsRequest
     * @return
     */
    TotalAmountVo getPromotionStatistics(SysPromotionStatisticsRequest sysPromotionStatisticsRequest);

    /**
     * 获取统计
     * @param userId
     * @param activityId
     * @return
     */
    PromotionStatistics getPromotionStatistics(String userId, String activityId);
}
